﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.master" CodeBehind="Consultar_Tarifa.aspx.vb" Inherits="webNaviera.Consultar_Tarifa" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>    
<%@ Register src="../../ControlASCX/SubMenu.ascx" tagname="submenu" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
        }
        .style4
        {
            width: 90px;
        }
        .style5
        {
        }
        .style6
        {
            width: 50px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <script>

     var ventana_secundaria;
     var ventana_secundaria2;

     function abrirVentanaEmb() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../page/popup/BuscarUsuarioss.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes", "");
     }


  </script>
    <p>


                        <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" ClientIDMode="AutoID" 
                            CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
                            GroupBoxCaptionOffsetY="-28px" HeaderText="Consultar Tarifa" 
                            Height="100%" HorizontalAlign="NotSet" 
                            SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Width="100%">
                            <ContentPaddings Padding="5px" />
<HeaderImage Align="NotSet"></HeaderImage>

<HeaderStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</HeaderStyle>

<GroupBoxHeaderStyle Wrap="Default">
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</GroupBoxHeaderStyle>

<TopLeftCorner Align="NotSet"></TopLeftCorner>

<NoHeaderTopLeftCorner Align="NotSet"></NoHeaderTopLeftCorner>

<TopRightCorner Align="NotSet"></TopRightCorner>

<NoHeaderTopRightCorner Align="NotSet"></NoHeaderTopRightCorner>

<BottomRightCorner Align="NotSet"></BottomRightCorner>

<BottomLeftCorner Align="NotSet"></BottomLeftCorner>

<HeaderLeftEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderLeftEdge>

<HeaderContent>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderContent>

<HeaderRightEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</HeaderRightEdge>

<NoHeaderTopEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</NoHeaderTopEdge>

<TopEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</TopEdge>

<RightEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</RightEdge>

<BottomEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</BottomEdge>

<LeftEdge>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</LeftEdge>

<Content>
<BackgroundImage Repeat="Repeat"></BackgroundImage>
</Content>
<PanelCollection>
<dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">   
    <table border="0" cellpadding="3" cellspacing="2" style="color: #808080">
        <tr class="TRlist3">
            <td class="style5">
                <dx:ASPxButton ID="btnConsultar" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" 
                    HorizontalAlign="NotSet" ImagePosition="Left" 
                    SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Consultar" 
                    VerticalAlign="NotSet" Wrap="Default">
                    <Image Align="NotSet">
                    </Image>
                    <CheckedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </CheckedStyle>
                    <PressedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </PressedStyle>
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <FocusRectBorder BorderStyle="NotSet" />
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxButton>
            </td>
            <td class="style2">
                <dx:ASPxButton ID="btnNuevo" runat="server" ClientIDMode="AutoID" 
                    CssPostfix="Aqua" HorizontalAlign="NotSet" ImagePosition="Left" 
                    SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Nuevo" 
                    VerticalAlign="NotSet" Wrap="Default">
                    <Image Align="NotSet">
                    </Image>
                    <CheckedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </CheckedStyle>
                    <PressedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </PressedStyle>
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <FocusRectBorder BorderStyle="NotSet" />
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxButton>
            </td>
            <td class="style2">
                <dx:ASPxButton ID="btnLimpiar" runat="server" ClientIDMode="AutoID" 
                    CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" Height="25px" 
                    HorizontalAlign="NotSet" ImagePosition="Left" 
                    SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" Text="Limpiar" 
                    VerticalAlign="NotSet" Width="79px" Wrap="Default">
                    <Image Align="NotSet">
                    </Image>
                    <CheckedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </CheckedStyle>
                    <PressedStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </PressedStyle>
                    <HoverStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </HoverStyle>
                    <FocusRectBorder BorderStyle="NotSet" />
                    <BackgroundImage Repeat="Repeat" />
                    <Border BorderStyle="NotSet" />
                    <BorderLeft BorderStyle="NotSet" />
                    <BorderTop BorderStyle="NotSet" />
                    <BorderRight BorderStyle="NotSet" />
                    <BorderBottom BorderStyle="NotSet" />
                    <DisabledStyle>
                        <BackgroundImage Repeat="Repeat" />
                        <Border BorderStyle="NotSet" />
                        <BorderLeft BorderStyle="NotSet" />
                        <BorderTop BorderStyle="NotSet" />
                        <BorderRight BorderStyle="NotSet" />
                        <BorderBottom BorderStyle="NotSet" />
                    </DisabledStyle>
                </dx:ASPxButton>
            </td>
            <td class="style2">
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 83px">
                &nbsp;</td>
            <td colspan="2" style="HEIGHT: 16px;">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style5">
                &nbsp;</td>
            <td class="style2" colspan="4">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 83px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td>
                Tipo Mov.</td>
            <td class="style2" colspan="4">
                <asp:DropDownList ID="cboTipoMovimiento" runat="server" Height="22px" 
                    Width="152px" Font-Size="X-Small">
                    <asp:ListItem Value="1">IMPORTACIÓN</asp:ListItem>
                    <asp:ListItem Value="2">EXPORTACIÓN</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 83px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td>
                Cliente</td>
            <td class="style2" colspan="6">
                <asp:TextBox ID="txtCliente" runat="server" Width="271px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style5">
                &nbsp;</td>
            <td class="style2" colspan="4">
                &nbsp;<td class="style6">
                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td style="HEIGHT: 16px; width: 200px">
                    &nbsp;</td>
                <td style="HEIGHT: 16px; width: 200px">
                    &nbsp;</td>
                <td style="HEIGHT: 16px; width: 200px">
                    &nbsp;</td>
                <td style="HEIGHT: 16px; width: 200px">
                    &nbsp;</td>
            </td>
        </tr>
        <tr class="TRlist3">
            <td>
                Fecha Vigencia:</td>
            <td class="style2">
                &nbsp;</td>
            <td>
                Desde:</td>
            <td class="style2">
                <asp:TextBox ID="txtFecIni" runat="server" ReadOnly="True"></asp:TextBox>

                 <cc1:CalendarExtender ID="CalendarExtender2" runat="server" 
                                        TargetControlID="txtFecIni">
                                    </cc1:CalendarExtender>
                                    <cc1:MaskedEditExtender ID="MaskedEditExtender2" runat="server" 
                                        Mask="99/99/9999" MaskType="Date" TargetControlID="txtFecIni">
                  </cc1:MaskedEditExtender>
            </td>
            <td class="style2">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style5">
                &nbsp;</td>
            <td class="style2">
                &nbsp;</td>
            <td>
                Hasta:</td>
            <td class="style2">
                <asp:TextBox ID="txtFecFin" runat="server" ReadOnly="True"></asp:TextBox>
                  <cc1:CalendarExtender ID="CalendarExtender1" runat="server" 
                                        TargetControlID="txtFecFin">
                                    </cc1:CalendarExtender>
                                    <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" 
                                        Mask="99/99/9999" MaskType="Date" TargetControlID="txtFecFin">
                  </cc1:MaskedEditExtender>
            </td>
            <td class="style2">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td class="style5">
                <asp:Label ID="lblKvje" runat="server" Text="Label" Visible="False"></asp:Label>
            </td>
            <td class="style2" colspan="4">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
            <td style="HEIGHT: 16px; width: 200px">
                &nbsp;</td>
        </tr>
        <tr class="TRlist3">
            <td colspan="12">
                <asp:GridView ID="dgTarifaFlete" runat="server" AllowPaging="True" 
                    AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
                    ForeColor="#333333" GridLines="Vertical" OnPageIndexChanging="Cambiarpagina" 
                    PageSize="12" Width="1034px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="Tfl_Tipo" HeaderText="Tipo" />
                        <asp:BoundField DataField="Tfl_Tmov" HeaderText="Tipo Mov." />
                        <asp:BoundField DataField="Tfl_Fivig" HeaderText="Fecha Ini. Vigencia" />
                        <asp:BoundField DataField="Tfl_Ffinvig" HeaderText="Fecha Fin Vigencia" />
                        <asp:BoundField DataField="Tfl_Tpag" HeaderText="Tfl_Tpag" Visible="False" />
                        <asp:BoundField DataField="Tfl_Csne" HeaderText="Consignatario" />
                        <asp:BoundField DataField="Tfl_Emba" HeaderText="Embarcador" />
                        <asp:BoundField DataField="sTfl_brocker" HeaderText="Tfl_brocker" 
                            Visible="False" />
                        <asp:BoundField DataField="Tfl_OpeLog" HeaderText="Tfl_OpeLog" 
                            Visible="False" />
                        <asp:BoundField DataField="Tfl_datosProd" HeaderText="Tfl_datosProd" 
                            Visible="False" />
                        <asp:TemplateField HeaderText="Editar">
                            <ItemTemplate>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:ImageButton ID="ImagenEditar1" runat="server" 
                                    CommandArgument='<%#Eval("Tfl_Csne")%>' CommandName="Editar" Height="19px" 
                                    ImageUrl="~/res/img/icono_editar.gif" Width="16px" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Eliminar">
                            <ItemTemplate>
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:ImageButton ID="imgEliminar" runat="server" 
                                    CommandArgument='<%#Eval("Tfl_Csne")%>' CommandName="Eliminar" Height="19px" 
                                    ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#EFF3FB" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                </asp:GridView>
            </td>
        </tr>
        <tr class="TRlist3">
            <td class="style5">
                &nbsp;</td>
            <td class="style2" colspan="4">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </dx:PanelContent>
</PanelCollection>

<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>

<DisabledStyle>
<BackgroundImage Repeat="Repeat"></BackgroundImage>

<Border BorderStyle="NotSet"></Border>

<BorderLeft BorderStyle="NotSet"></BorderLeft>

<BorderTop BorderStyle="NotSet"></BorderTop>

<BorderRight BorderStyle="NotSet"></BorderRight>

<BorderBottom BorderStyle="NotSet"></BorderBottom>
</DisabledStyle>
                        </dx:ASPxRoundPanel>                                   


</p>
    <p>


                        &nbsp;</p>
    <p>


                        &nbsp;</p>
    <p>


                        &nbsp;</p>
    <p>


                        &nbsp;</p>
    <p>


                        &nbsp;</p>
    <p>


                        &nbsp;</p>
</asp:Content>
